.rating {
    cursor: pointer;
    /*margin: 2em;*/
    clear: both;
    display: block;
}
.rating:after {
    content: '.';
    display: block;
    height: 0;
    width: 0;
    clear: both;
    visibility: hidden;
}
.cancel,
.star {
    float: left;
    width: 17px;
    height: 15px;
    overflow: hidden;
    text-indent: -999em;
    cursor: pointer;
}
.star-left,
.star-right {
    width: 8px
}
.cancel,
.cancel a {
    /*background: url(rating-img/delete.gif) no-repeat 0 -16px;*/
    display: none;
}

.star,
.star a {background: url(rating-img/star.gif) no-repeat 0 0px;}
.star-left,
.star-left a {background: url(rating-img/star-left.gif) no-repeat 0 0px;}
.star-right,
.star-right a {background: url(rating-img/star-right.gif) no-repeat 0 0px;}

.cancel a,
.star a {
    display: block;
    width: 100%;
    height: 100%;
    background-position: 0 0px;
}

.rating .on a {
    background-position: 0 -16px;
}
.rating .hover a,
.rating  a:hover {
    background-position: 0 -32px;
}